package com.kingdee.eas.crm.activity;

import com.kingdee.bos.BOSException;
import com.kingdee.bos.BOSObjectFactory;
import com.kingdee.bos.util.BOSObjectType;
import com.kingdee.bos.Context;

public class PressworkFactory
{
    private PressworkFactory()
    {
    }
    public static com.kingdee.eas.crm.activity.IPresswork getRemoteInstance() throws BOSException
    {
        return (com.kingdee.eas.crm.activity.IPresswork)BOSObjectFactory.createRemoteBOSObject(new BOSObjectType("E221569D") ,com.kingdee.eas.crm.activity.IPresswork.class);
    }
    
    public static com.kingdee.eas.crm.activity.IPresswork getRemoteInstanceWithObjectContext(Context objectCtx) throws BOSException
    {
        return (com.kingdee.eas.crm.activity.IPresswork)BOSObjectFactory.createRemoteBOSObjectWithObjectContext(new BOSObjectType("E221569D") ,com.kingdee.eas.crm.activity.IPresswork.class, objectCtx);
    }
    public static com.kingdee.eas.crm.activity.IPresswork getLocalInstance(Context ctx) throws BOSException
    {
        return (com.kingdee.eas.crm.activity.IPresswork)BOSObjectFactory.createBOSObject(ctx, new BOSObjectType("E221569D"));
    }
    public static com.kingdee.eas.crm.activity.IPresswork getLocalInstance(String sessionID) throws BOSException
    {
        return (com.kingdee.eas.crm.activity.IPresswork)BOSObjectFactory.createBOSObject(sessionID, new BOSObjectType("E221569D"));
    }
}